package
{
   import flash.display.Sprite;
   import flash.system.Security;
   // Progression
   import jp.progression.casts.CastDocument;
   import jp.progression.scenes.SceneId;
   import jp.progression.events.ProcessEvent;
   import jp.progression.config.WebConfig;
   import jp.progression.debug.Debugger;
   import jp.nium.core.I18N.Locale;
   // prj
   import scenes._Rule_sc;
   import boy.contrib.debug.Stats;

   /**
    * @author  cjboy1984@gmail.com
    */
   public class _Rule extends CastDocument
   {

      // --------------------- LINE ---------------------

      public function _Rule()
      {
         super('rule', _Rule_sc, new WebConfig(null, true, false) );
      }

      // ################### protected ##################

      override protected function atReady():void
      {
         // debug
         //Debugger.addTarget( manager );
         //Locale.language = Locale.JAPANESE;
         //stage.addChild(new Stats()); // benchmark
         //stage.addChild(new MyDebug()); // my debug utils

         // manager
         manager.sync = true; // deep-link SWFAddress
         manager.goto(manager.syncedSceneId);
      }

      // #################### private ###################

      // --------------------- LINE ---------------------

      // --------------------- LINE ---------------------

   }

}
